using System;
using System.Data;

namespace DbVisualizer.DbConnection
{
    [Serializable]
    public class QueryResult
    {
        private Exception mException;
        private TimeSpan mQueryTime;
        private DataTable mResultTable;

        public DataTable ResultTable
        {
            get { return mResultTable; }
            set { mResultTable = value; }
        }


        public Exception Exception
        {
            get { return mException; }
            set { mException = value; }
        }


        public TimeSpan QueryTime
        {
            get { return mQueryTime; }
            set { mQueryTime = value; }
        }
    }
}